package com.btm.experimental.alldemo;

/**
 * 模拟消息的发布与消费，两个生产者
 */
public class RedisDemoTwoPublisher {

    public static void main(String[] args) throws InterruptedException {

        Thread publisherThreadOne = new Thread(new MsgPublisher(false));
        publisherThreadOne.setName("publisherOne");
        publisherThreadOne.start();

        Thread subscriberOne = new Thread(new MsgSubscriber());
        subscriberOne.setName("subscriberOne");
        subscriberOne.start();

        Thread publisherThreadTwo = new Thread(new MsgPublisher(false));
        publisherThreadTwo.setName("publisherTwo");
        publisherThreadTwo.start();

        Thread subscriberTwo = new Thread(new MsgSubscriber());
        subscriberTwo.setName("subscriberTwo");
        subscriberTwo.start();

        while (true) {
            Thread.sleep(10000);
        }
    }

    /**
     * 输入结果如下：
     * publisherTwo send message[1] to [msg]:[publisherTwo[0]:3722]
     * publisherOne send message[1] to [msg]:[publisherOne[0]:9211]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[0]:9211}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[0]:9211}
     * publisherOne send message[2] to [msg]:[publisherOne[1]:8198]
     * publisherTwo send message[2] to [msg]:[publisherTwo[1]:9726]
     * publisherOne send message[3] to [msg]:[publisherOne[2]:7076]
     * publisherTwo send message[3] to [msg]:[publisherTwo[2]:2335]
     * publisherOne send message[4] to [msg]:[publisherOne[3]:5755]
     * publisherTwo send message[4] to [msg]:[publisherTwo[3]:989]
     * publisherOne send message[5] to [msg]:[publisherOne[4]:8163]
     * publisherTwo send message[5] to [msg]:[publisherTwo[4]:2067]
     * publisherTwo send message[6] to [msg]:[publisherTwo[5]:5977]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[0]:3722}
     * publisherTwo send message[7] to [msg]:[publisherTwo[6]:5573]
     * publisherOne send message[6] to [msg]:[publisherOne[5]:1792]
     * publisherTwo send message[8] to [msg]:[publisherTwo[7]:7776]
     * publisherTwo send message[9] to [msg]:[publisherTwo[8]:5031]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[0]:3722}
     * publisherOne send message[7] to [msg]:[publisherOne[6]:6112]
     * publisherTwo send message[10] to [msg]:[publisherTwo[9]:6049]
     * publisherTwo send message[11] to [msg]:[publisherTwo[10]:6905]
     * publisherOne send message[8] to [msg]:[publisherOne[7]:1159]
     * publisherTwo send message[12] to [msg]:[publisherTwo[11]:3683]
     * publisherTwo send message[13] to [msg]:[publisherTwo[12]:6192]
     * publisherOne send message[9] to [msg]:[publisherOne[8]:9797]
     * publisherTwo send message[14] to [msg]:[publisherTwo[13]:9080]
     * publisherOne send message[10] to [msg]:[publisherOne[9]:1507]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[1]:8198}
     * publisherTwo send message[15] to [msg]:[publisherTwo[14]:4576]
     * publisherOne send message[11] to [msg]:[publisherOne[10]:8618]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[1]:8198}
     * publisherTwo send message[16] to [msg]:[publisherTwo[15]:5937]
     * publisherOne send message[12] to [msg]:[publisherOne[11]:6463]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[1]:9726}
     * publisherOne send message[13] to [msg]:[publisherOne[12]:2249]
     * publisherTwo send message[17] to [msg]:[publisherTwo[16]:5557]
     * publisherTwo send message[18] to [msg]:[publisherTwo[17]:9064]
     * publisherTwo send message[19] to [msg]:[publisherTwo[18]:2097]
     * publisherTwo send message[20] to [msg]:[publisherTwo[19]:9762]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[1]:9726}
     * publisherOne send message[14] to [msg]:[publisherOne[13]:4836]
     * publisherTwo send message[21] to [msg]:[publisherTwo[20]:1033]
     * publisherOne send message[15] to [msg]:[publisherOne[14]:5835]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[2]:7076}
     * publisherTwo send message[22] to [msg]:[publisherTwo[21]:7915]
     * publisherOne send message[16] to [msg]:[publisherOne[15]:8659]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[2]:2335}
     * publisherTwo send message[23] to [msg]:[publisherTwo[22]:8585]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[2]:7076}
     * publisherOne send message[17] to [msg]:[publisherOne[16]:2908]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[3]:5755}
     * publisherOne send message[18] to [msg]:[publisherOne[17]:6692]
     * publisherTwo send message[24] to [msg]:[publisherTwo[23]:3021]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[2]:2335}
     * publisherOne send message[19] to [msg]:[publisherOne[18]:6557]
     * publisherTwo send message[25] to [msg]:[publisherTwo[24]:7316]
     * publisherOne send message[20] to [msg]:[publisherOne[19]:1790]
     * publisherOne send message[21] to [msg]:[publisherOne[20]:5393]
     * publisherTwo send message[26] to [msg]:[publisherTwo[25]:4138]
     * publisherOne send message[22] to [msg]:[publisherOne[21]:4659]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[3]:5755}
     * publisherTwo send message[27] to [msg]:[publisherTwo[26]:691]
     * publisherTwo send message[28] to [msg]:[publisherTwo[27]:3867]
     * publisherOne send message[23] to [msg]:[publisherOne[22]:7864]
     * publisherTwo send message[29] to [msg]:[publisherTwo[28]:7919]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[3]:989}
     * publisherOne send message[24] to [msg]:[publisherOne[23]:314]
     * publisherTwo send message[30] to [msg]:[publisherTwo[29]:569]
     * publisherOne send message[25] to [msg]:[publisherOne[24]:7138]
     * publisherTwo send message[31] to [msg]:[publisherTwo[30]:7059]
     * publisherTwo send message[32] to [msg]:[publisherTwo[31]:9225]
     * publisherOne send message[26] to [msg]:[publisherOne[25]:7539]
     * publisherTwo send message[33] to [msg]:[publisherTwo[32]:8226]
     * publisherTwo send message[34] to [msg]:[publisherTwo[33]:8956]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[3]:989}
     * publisherTwo send message[35] to [msg]:[publisherTwo[34]:5241]
     * publisherOne send message[27] to [msg]:[publisherOne[26]:2752]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[4]:8163}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[4]:8163}
     * publisherTwo send message[36] to [msg]:[publisherTwo[35]:9057]
     * publisherOne send message[28] to [msg]:[publisherOne[27]:1769]
     * publisherTwo send message[37] to [msg]:[publisherTwo[36]:8671]
     * publisherOne send message[29] to [msg]:[publisherOne[28]:3679]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[4]:2067}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[5]:5977}
     * publisherTwo send message[38] to [msg]:[publisherTwo[37]:2277]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[4]:2067}
     * publisherOne send message[30] to [msg]:[publisherOne[29]:8833]
     * publisherTwo send message[39] to [msg]:[publisherTwo[38]:7571]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[6]:5573}
     * publisherTwo send message[40] to [msg]:[publisherTwo[39]:9633]
     * publisherTwo send message[41] to [msg]:[publisherTwo[40]:2393]
     * publisherOne send message[31] to [msg]:[publisherOne[30]:3321]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[5]:1792}
     * publisherTwo send message[42] to [msg]:[publisherTwo[41]:984]
     * publisherOne send message[32] to [msg]:[publisherOne[31]:8309]
     * publisherOne send message[33] to [msg]:[publisherOne[32]:5971]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[5]:5977}
     * publisherTwo send message[43] to [msg]:[publisherTwo[42]:3866]
     * publisherTwo send message[44] to [msg]:[publisherTwo[43]:7921]
     * publisherOne send message[34] to [msg]:[publisherOne[33]:7893]
     * publisherTwo send message[45] to [msg]:[publisherTwo[44]:4431]
     * publisherOne send message[35] to [msg]:[publisherOne[34]:5008]
     * publisherOne send message[36] to [msg]:[publisherOne[35]:1434]
     * publisherTwo send message[46] to [msg]:[publisherTwo[45]:5792]
     * publisherOne send message[37] to [msg]:[publisherOne[36]:3196]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[7]:7776}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[6]:5573}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[8]:5031}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[5]:1792}
     * publisherOne send message[38] to [msg]:[publisherOne[37]:3954]
     * publisherTwo send message[47] to [msg]:[publisherTwo[46]:2553]
     * publisherOne send message[39] to [msg]:[publisherOne[38]:1857]
     * publisherOne send message[40] to [msg]:[publisherOne[39]:9664]
     * publisherOne send message[41] to [msg]:[publisherOne[40]:6562]
     * publisherTwo send message[48] to [msg]:[publisherTwo[47]:9653]
     * publisherOne send message[42] to [msg]:[publisherOne[41]:678]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[7]:7776}
     * publisherOne send message[43] to [msg]:[publisherOne[42]:4217]
     * publisherTwo send message[49] to [msg]:[publisherTwo[48]:7268]
     * publisherOne send message[44] to [msg]:[publisherOne[43]:2069]
     * publisherOne send message[45] to [msg]:[publisherOne[44]:5729]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[6]:6112}
     * publisherOne send message[46] to [msg]:[publisherOne[45]:3845]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[8]:5031}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[6]:6112}
     * publisherOne send message[47] to [msg]:[publisherOne[46]:7753]
     * publisherTwo send message[50] to [msg]:[publisherTwo[49]:7378]
     * publisherOne send message[48] to [msg]:[publisherOne[47]:9073]
     * publisherOne send message[49] to [msg]:[publisherOne[48]:9104]
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[9]:6049}
     * publisherOne send message[50] to [msg]:[publisherOne[49]:8532]
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[9]:6049}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[10]:6905}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[7]:1159}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[10]:6905}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[11]:3683}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[12]:6192}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[7]:1159}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[8]:9797}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[11]:3683}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[13]:9080}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[12]:6192}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[9]:1507}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[14]:4576}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[8]:9797}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[10]:8618}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[13]:9080}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[15]:5937}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[11]:6463}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[9]:1507}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[14]:4576}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[12]:2249}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[10]:8618}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[16]:5557}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[17]:9064}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[15]:5937}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[18]:2097}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[11]:6463}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[19]:9762}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[13]:4836}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[20]:1033}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[14]:5835}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[12]:2249}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[21]:7915}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[16]:5557}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[15]:8659}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[17]:9064}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[22]:8585}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[18]:2097}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[19]:9762}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[16]:2908}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[17]:6692}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[13]:4836}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[23]:3021}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[20]:1033}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[18]:6557}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[14]:5835}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[24]:7316}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[21]:7915}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[19]:1790}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[15]:8659}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[22]:8585}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[20]:5393}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[25]:4138}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[16]:2908}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[21]:4659}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[17]:6692}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[23]:3021}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[26]:691}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[18]:6557}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[27]:3867}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[22]:7864}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[28]:7919}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[24]:7316}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[19]:1790}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[23]:314}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[20]:5393}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[29]:569}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[25]:4138}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[24]:7138}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[21]:4659}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[30]:7059}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[26]:691}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[27]:3867}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[31]:9225}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[22]:7864}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[25]:7539}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[28]:7919}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[32]:8226}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[33]:8956}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[23]:314}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[29]:569}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[34]:5241}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[26]:2752}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[24]:7138}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[35]:9057}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[30]:7059}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[31]:9225}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[25]:7539}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[27]:1769}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[32]:8226}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[33]:8956}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[36]:8671}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[34]:5241}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[28]:3679}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[26]:2752}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[37]:2277}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[29]:8833}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[35]:9057}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[27]:1769}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[38]:7571}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[36]:8671}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[39]:9633}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[28]:3679}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[40]:2393}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[37]:2277}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[29]:8833}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[30]:3321}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[38]:7571}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[41]:984}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[31]:8309}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[39]:9633}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[32]:5971}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[42]:3866}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[43]:7921}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[40]:2393}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[30]:3321}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[41]:984}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[33]:7893}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[31]:8309}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[44]:4431}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[34]:5008}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[32]:5971}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[42]:3866}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[35]:1434}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[43]:7921}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[33]:7893}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[44]:4431}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[45]:5792}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[36]:3196}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[37]:3954}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[34]:5008}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[35]:1434}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[46]:2553}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[38]:1857}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[45]:5792}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[36]:3196}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[39]:9664}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[37]:3954}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[46]:2553}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[40]:6562}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[38]:1857}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[47]:9653}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[41]:678}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[39]:9664}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[42]:4217}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[40]:6562}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[48]:7268}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[47]:9653}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[41]:678}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[43]:2069}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[42]:4217}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[48]:7268}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[43]:2069}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[44]:5729}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[45]:3845}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[44]:5729}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[46]:7753}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherTwo[49]:7378}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[47]:9073}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[45]:3845}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[48]:9104}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[46]:7753}
     * ----------------------------------------------------------------subscriberTwo listener new message {publisherOne[49]:8532}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherTwo[49]:7378}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[47]:9073}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[48]:9104}
     * ----------------------------------------------------------------subscriberOne listener new message {publisherOne[49]:8532}
     */

}
